package com.heima.bean;

public class Subway {
private String subwayid;
private String subname;
private String subline;

    public Subway() {
    }

    public Subway(String subwayid, String subname, String subline) {
        this.subwayid = subwayid;
        this.subname = subname;
        this.subline = subline;
    }

    public String getSubwayid() {
        return subwayid;
    }

    public void setSubwayid(String subwayid) {
        this.subwayid = subwayid;
    }

    public String getSubname() {
        return subname;
    }

    public void setSubname(String subname) {
        this.subname = subname;
    }

    public String getSubline() {
        return subline;
    }

    public void setSubline(String subline) {
        this.subline = subline;
    }

    @Override
    public String toString() {
        return "Subway{" +
                "subwayid=" + subwayid +
                ", subname='" + subname + '\'' +
                ", subline='" + subline + '\'' +
                '}';
    }
}
